
malloc4.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
	int  type;
}alloc;


void main()
{
   0:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
   4:	910003fd 	mov	x29, sp
	alloc ac;
	alloc * pa;

	printf("sizeof(ac=%ld)\n", sizeof(ac));	// 36
   8:	90000000 	adrp	x0, 0 <main>
   c:	91000000 	add	x0, x0, #0x0
  10:	d2800481 	mov	x1, #0x24                  	// #36
  14:	94000000 	bl	0 <printf>
	printf("sizeof(pa=%ld)\n", sizeof(pa));	// 8
  18:	90000000 	adrp	x0, 0 <main>
  1c:	91000000 	add	x0, x0, #0x0
  20:	d2800101 	mov	x1, #0x8                   	// #8
  24:	94000000 	bl	0 <printf>

	pa = (alloc *) malloc (sizeof(ac) * 10);	// 8
  28:	d2802d00 	mov	x0, #0x168                 	// #360
  2c:	94000000 	bl	0 <malloc>
  30:	f9001fa0 	str	x0, [x29, #56]
	printf("sizeof(pa=%ld)\n", sizeof(pa));		// 8
  34:	90000000 	adrp	x0, 0 <main>
  38:	91000000 	add	x0, x0, #0x0
  3c:	d2800101 	mov	x1, #0x8                   	// #8
  40:	94000000 	bl	0 <printf>
	free(pa);
  44:	f9401fa0 	ldr	x0, [x29, #56]
  48:	94000000 	bl	0 <free>

	pa = (alloc *) malloc (sizeof(pa) * 10);	// 8
  4c:	d2800a00 	mov	x0, #0x50                  	// #80
  50:	94000000 	bl	0 <malloc>
  54:	f9001fa0 	str	x0, [x29, #56]
	printf("sizeof(pa=%ld)\n", sizeof(pa));		// 8
  58:	90000000 	adrp	x0, 0 <main>
  5c:	91000000 	add	x0, x0, #0x0
  60:	d2800101 	mov	x1, #0x8                   	// #8
  64:	94000000 	bl	0 <printf>
	free(pa);
  68:	f9401fa0 	ldr	x0, [x29, #56]
  6c:	94000000 	bl	0 <free>

}
  70:	d503201f 	nop
  74:	a8c47bfd 	ldp	x29, x30, [sp], #64
  78:	d65f03c0 	ret
